export default {
  plugins: {
    autoprefixer: {},
    "postcss-flexbugs-fixes": {},
    "postcss-preset-env": {
      autoprefixer: {
        flexbox: "no-2009",
      },
      stage: 3,
      features: {
        "custom-properties": false,
      },
    },
    "postcss-px-to-viewport-8-plugin": {
      unitToConvert: "px",
      viewportWidth: (file) => {
        if (file.indexOf("RNKeep") !== -1) {
          return 1024;
        }
        return 750;
      },
      unitPrecision: 5,
      propList: ["*"],
      viewportUnit: "vw",
      fontViewportUnit: "vw",
      selectorBlackList: [],
      minPixelValue: 1,
      mediaQuery: false,
      replace: true,
      landscape: false,
      landscapeUnit: "vw",
      landscapeWidth: 568,
      include: [],
      exclude: [/node_modules/],
    },
  },
};
